# 用于理解flask中的路由系统


def route(f):

    def decorator():
        f()
        print('this is decorator!')
        print(f)
        return f()
    return decorator


@route('/12')
def hello():
    print('this is hello')


hello()


# print(type(hello))
# f = hello()
# print(type(f))
